/*
 * @Author: liu.ff 
 * @Date: 2018-09-12 17:26:18 
 * @Last Modified by: liu.ff
 * @Last Modified time: 2018-09-12 17:50:23
 */


import React, { Component } from 'react';
import {
    View,
    Text,
    StyleSheet,
    Platform,
    Image
} from 'react-native';

export default class TabBarItem extends Component {
    render() {
        return (
            <Image source={this.props.selected ? this.props.selectedImg : this.props.normalImg} style={{ tintColor: this.props.color, width: 25, height: 25 }} />
        )
    }
}

const styles = StyleSheet.create({
    imgStyle: {
        height: 30,
        width: 30,
    }
})
